﻿using SmartPlant.Model.DbContext.Biz;
using SmartPlant.Services.Interfaces;
using System.Threading.Tasks;

namespace SmartPlant.Services
{
    public class ProjectReportService : BaseService, IProjectReportService
    {
        public async Task<ProjectReportEntity> GetStatisticsReportAsync(int proId)
        {
            string url = $"/api/project/{proId}/domain-statistics-report";
            var r = await GetAsync<ProjectReportEntity>(url);
            return r.data;
        }
    }
}
